Ext.define('Service.user.view.UserEditWindow', {
	extend : 'WebOs.ex.ModalWindow',
	alias : 'widget.Service_user_view_UserEditWindow',
	id: 'Service_user_view_UserEditWindow',

	height : 500,
	width : 750,
	
	layout : {
		type : 'fit'
	},

	maximizable : true,
	resizable : true,
	dirty : false,

	initComponent : function() {
		var me = this;
		Ext.applyIf(me, {
			items : [ {
				xtype : 'Service_user_view_UserEditTabs',
				userId : me.userId
			}],
			buttons:[
				{
                    width: 80,
                    text: '上一步',
                    disabled:true,
                    id : 'Service_user_btn_active_prevUserEditTab'
                },
                {
                    width: 80,
                    text: '下一步',
                    id:'Service_user_btn_active_nextUserEditTab'
                },
                {
                    width: 80,
                    text: '提交',
                    id:'Service_user_btn_save_userInfo',
                    module : 'Service_user',
                    action : me.window_action=='add'?'addUser':(me.window_action=='chg'?'chgUser':'')
                }
			]
		});
		me.callParent(arguments);
	}
});